#!/usr/bin/python
# vi: et sw=2
#
# Test PulseObj
#
# Author: Harry Karvonen <harry.karvonen@gmail.com>
#

from GnomePulseAppletInterface import PulseObj,PulseVolume

pulse = PulseObj()

psifl = pulse.pulse_sink_list()

if psifl == None:
  psifl = []

for p in psifl:
  p.printDebug()

for p in psifl:
  print p

psifl = pulse.pulse_sink_input_list()

if psifl == None:
  psifl = []

for p in psifl:
  p.printDebug()

for p in psifl:
  print p

pulse.pulse_disconnect()

